package com.fulihui.wgj.facade.request.reply;

import com.fulihui.common.request.rpc.AbstractServiceRequest;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class ReplyRuleEnableOrDisableRequest extends AbstractServiceRequest {

    @NotNull(message = "id不能为空")
    private Integer id;

    /**
     * 1.启用 2.停用
     */
    @NotNull(message = "是否启用禁用不能为空")
    @Max(value = 2, message = "useType大于2")
    @Min(value = 1, message = "useType小于1")
    private Integer useful;

}
